package com.funong.matrix.biz.power.pojo.dto;

import com.funong.matrix.biz.base.entity.SysPermissionEntity;
import com.funong.matrix.biz.base.entity.SysRoleEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("角色的权限")
public class SysRolePermissionDTO extends SysRoleEntity {
    @ApiModelProperty(value="角色编号")
    private String roleCode;
    @ApiModelProperty(value = "用户id集合")
    private List<Integer> userIdList;
    @ApiModelProperty(value = "权限编号集合")
    private List<String> permissionCodeList;
    @ApiModelProperty(value="菜单编号集合")
    private List<String> menuCodeList;
    @ApiModelProperty(value = "权限集合")
    private List<SysPermissionEntity> permissionList;
}
